﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Users:Father
    {
        public Users() { }
        public Users(string name):base (name)
        {

        }

        public override string chuquan()
        {
            Console.WriteLine("请出拳：1，剪刀  2，石头  3，布（输入相应数字）");
            string num = Console.ReadLine();
            switch (num)
            {
                case "1":
                    return "剪刀";
                    break;
                case "2":
                    return "石头";
                    break;
                case "3":
                    return "布";
                    break;
            }
            return base.chuquan();
        }
    }
}
